package com.cskaoyan.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * mvc之外的其他的配置
 * @author stone
 * @date 2022/07/11 14:28
 */
@ComponentScan(value = "com.cskaoyan",
        //excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION,value = {Controller.class, EnableWebMvc.class})})
        //excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION,value = {Controller.class, EnableWebMvc.class}))
        //excludeFilters = @ComponentScan.Filter(value = {Controller.class, EnableWebMvc.class}))
        excludeFilters = @ComponentScan.Filter({Controller.class, EnableWebMvc.class}))
@Configuration
public class SpringConfiguration {
}
